Simple_History\Loggers\Post_Logger D

Total Complexity 185
Dependencies 3
Dependents 1
Total lines 1,548
Lines of code 898
Logical lines of code 407
Comment lines 457
Methods 30
Properties 2

Methods 30

Method Rating Maintainability Complexity Lines of code
add_post_data_diff_to_context()
D
26
39 144
get_log_row_details_output()
D
24
31 211
maybe_log_post_change()
C
35 26 78
get_log_row_details_output_for_post_thumb()
A
40 11 72
get_log_row_plain_text_output()
A
48 11 31
on_delete_post()
A
50 9 29
get_log_row_details_output_for_post_terms()
A
45 7 46
add_post_thumb_diff()
A
54 8 23
on_xmlrpc_call()
S
49 5 31
on_admin_action_editpost()
S
56 5 18
on_transition_post_status()
S
52 4 23
filter_rss_item_link()
S
59 3 15
get_theme_templates()
S
60 3 12
on_rest_after_insert()
S
56 2 18
on_untrash_post()
S
60 2 14
get_info()
S
51 1 28
on_rest_pre_insert()
S
61 2 12
add_rest_hooks()
S
66 2 7
ok_to_log_post_posttype()
S
67 2 8
add_diff()
S
66 2 9
get_skip_posttypes()
S
63 1 12
extra_diff_record()
S
78 1 3
add_keys_to_diff()
S
79 1 3
add_xml_rpc_hooks()
S
64 1 9
label_for()
S
78 1 3
compare_terms()
S
79 1 3
on_xmlrpc_newPost()
S
65 1 9
on_xmlrpc_editPost()
S
65 1 9
on_xmlrpc_deletePost()
S
65 1 9
loaded()
S
64 1 9